//
//  HomeFlowServiceCatCell_style2.h
//  BaseProject
//
//  Created by 王洋 on 2020/11/30.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeADItemModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HomeFlowServiceCatCell_style2 : UICollectionViewCell

typedef NS_ENUM(NSInteger, HomeFlowServiceCatCell_style2ActionType) {
    //新人首单
    HomeFlowServiceCatCell_style2ActionType_newFree,
    //推荐官
    HomeFlowServiceCatCell_style2ActionType_recommender,
    //获取优惠券
    HomeFlowServiceCatCell_style2ActionType_getCoupon,
    //分享赚钱
    HomeFlowServiceCatCell_style2ActionType_shareGift,
    
    HomeFlowServiceCatCell_style2ActionType_item
};

@property (weak, nonatomic) IBOutlet UIImageView *itemBGImageView;

@property (weak, nonatomic) IBOutlet UIImageView *itemControl0;

@property (weak, nonatomic) IBOutlet UIImageView *itemControl1;

@property (weak, nonatomic) IBOutlet UIImageView *itemControl2;

@property (weak, nonatomic) IBOutlet UIImageView *itemControl3;

@property (weak, nonatomic) IBOutlet UIImageView *itemControl4;

@property (weak, nonatomic) IBOutlet UIView *bottomBGView;

@property (nonatomic, strong) NSMutableArray <HomeADItemEventModel *>*dataArray;

@property (nonatomic, copy) void(^HomeFlowServiceCatCell_style2Block)(HomeFlowServiceCatCell_style2ActionType type, NSInteger index);


+ (CGFloat)calculateHeight;

- (void)fillCellWithModel:(HomeADItemModel *)model;

@end

NS_ASSUME_NONNULL_END
